package com.gxyk.utils;  

import com.example.jiemian.R;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;
public class MyProgressDialog extends Dialog {


	private TextView currentAction;
	
	public MyProgressDialog(Context context, int theme) {
		super(context, theme);
	}

	public MyProgressDialog(Context context) {
		super(context);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.loading_indicator);
		currentAction = (TextView) findViewById(R.id.current_action);
	}

	public TextView getCurrentAction() {
		return currentAction;
	}	
	public void setCurrentActionText(String text) {
		this.currentAction.setText(text);
	}
	
}
